package elka.sag.logisticsystem.message;

import java.util.Collections;
import java.util.List;

import elka.sag.logisticsystem.bean.Article;

/**
 * Zlecenie wyprodukowania towaru
 * @author Wojtek
 *
 */
public class FactoryMessage extends SimpleMessage {
	private final List<Article> articles;
	
	public FactoryMessage(Long orderId, List<Article> articles) {
		super(orderId);
		this.articles = Collections.unmodifiableList(articles);
	}

	public List<Article> getArticles() {
		return articles;
	}
}
